﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Aliphant.UI.Models
{
    public class TabPageInfo
    {
        /// <summary>
        /// 总页数
        /// </summary>
        public int TotalPage { get; set; }

        /// <summary>
        /// 当前展示的页数
        /// </summary>
        public int MaxShowPage {  get; set; }

        /// <summary>
        /// 每页展示项数
        /// </summary>
        public int PageItemCount {  get; set; }

        /// <summary>
        /// 当前页索引
        /// </summary>
        public int CurrentPage {  get; set; }
    }

    public class PageIndex
    {
        /// <summary>
        /// 界面显示
        /// </summary>
        public string Show { get; set; } = string.Empty;

        /// <summary>
        /// 当前列表索引
        /// </summary>
        public int Position { get; set; }

        /// <summary>
        /// 分页位置映射
        /// </summary>
        public int Mapping { get; set; }
    }
}
